import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/styles/index.less'
Vue.config.productionTip = false

// 时间过滤器
Vue.filter('filterTime', function (sp) {
  let date = new Date(sp)
  let y = date.getFullYear()
  let m = date.getMonth() + 1
  let d = date.getDay()
  return y + '/' + m + '/' + d
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
